/*
 *  MyMath.cpp
 *  ElektroM
 *
 *  Created by Michael on 21.10.09.
 *  Copyright 2009 Artgruppe inc. All rights reserved.
 *
 */

int minA(int a, int b)
{
	if(a<b)
		return a;	
	return b;	
}

int sqr(int a)
{
    return a*a;
}

int maxA(int a, int b)
{
	if(a<b)
		return b;
	return a;
}